@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="examineeInfoForm">

            <input type="hidden" id="id" value="${examinee.id } ">

            <div class="row">
                <div class="col-sm-6">
                            <#select id="seniorSchoolId" name="所属学校" underline="true"
                                select2Flag="true" urlForSelect2="${ctxPath}/seniorschool/listSchoolForSelect2" async="true">
                                @if(isNotEmpty(examineeschools)){
		                            @for(es in examineeschools){
		                                <option value="${es.id}" selected="selected">${es.text}</option>
		                            @}
		                        @}
                            </#select>
                            <#input id="examCardNumber" name="准考证号" value="${examinee.examCardNumber}" underline="true"/>
                            <#input id="idCard" name="身份证号码" value="${examinee.idCard}" underline="true"/>
                             <#select id="gender" name="性别" underline="true" dictPCode="gender" value="${examinee.gender}"  select2Flag="true">
                                <option value=""></option>
                            </#select>
                            <#input id="examSiteNumber" name="考场号" value="${examinee.examSiteNumber}" underline="true"/>
                            <#input id="seatNumber" name="座位号" value="${examinee.seatNumber}" underline="true"/>
                            <#date id="birthday" name="出生年月" value="${examinee.birthday}" underline="true" dateType="date" pattern="yyyy-MM-dd"/>
                            <#input id="nation" name="民族" value="${examinee.nation}" underline="true"/>
                            <#input id="nativePlace" name="籍贯" value="${examinee.nativePlace}" underline="true"/>
                            <#input id="studentTypeName" name="考生类型名称" value="${examinee.studentTypeName}" underline="true"/>
                </div>
                <div class="col-sm-6">
                            <#select id="seniorClassId" name="所属班级" underline="true" paramFun="SeniorExamineeInfoDlg.getSchoolId('seniorSchoolId')"
                                select2Flag="true" urlForSelect2="${ctxPath}/seniorSchoolClass/listSchoolClassForSelect2" async="true">
                                @if(isNotEmpty(examineeclasses)){
		                            @for(ec in examineeclasses){
		                                <option value="${ec.id}" selected="selected">${ec.text}</option>
		                            @}
		                        @}
                            </#select>
                            <#input id="studentName" name="考生姓名" value="${examinee.studentName}" underline="true"/>
                            <#input id="archivesNumber" name="建档号" value="${examinee.archivesNumber}" underline="true"/>
                            <#input id="phone1" name="联系电话1" value="${examinee.phone1}" underline="true"/>
                            <#input id="phone2" name="联系电话2" value="${examinee.phone2}" underline="true"/>
                            <#input id="residenceAreaCode" name="户籍地区代码" value="${examinee.residenceAreaCode}" underline="true"/>
                            <#input id="residenceAddress" name="户籍地址" value="${examinee.residenceAddress}"  underline="true"/>
                            <#input id="studentNumber" name="学籍号" value="${examinee.studentNumber}" underline="true"/>
                            <#input id="politicalName" name="政治面貌" value="${examinee.politicalName}" underline="true"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-12">
	                @if(isNotEmpty(examinee.id)){
						<#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="SeniorExamineeInfoDlg.editSubmit()"/>
					@}
					@else{ 
					<#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="SeniorExamineeInfoDlg.addSubmit()"/>
					@}
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="SeniorExamineeInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/examinee/examinee/examineeEdit.js"></script>
@}
